<template>
	<view class="container">
		<topView></topView>
		<view class="tips">正在使用即时到账交易</view>
		<view class="buy-info-container">
			<view class="buy-info-title">购买兑换码</view>
			<view class="tips" style="margin-left: 48rpx;margin-top: 0rpx;">收款方：河南孙氏信息科技…</view>
		</view>
		<view class="main-container">
			<view class="progress-container">
				<view class="select-level">1</view>
				<view class="select-text">选择购买信息</view>
				<view class="divider-select"></view>
				<view class="select-level">2</view>
				<view class="select-text">确认扫码支付</view>
				<view class="divider-unselect"></view>
				<view class="unselect-level">3</view>
				<view class="unselect-text">完成</view>
			</view>
			<view class="scan">扫一扫付款 (元)</view>
			<view class="pay-price">{{count}}</view>
			<view class="qr-code">
				<image class="qr-image" src="../../static/icon_qr.png"></image>
				<view class="qr-tips" style="margin-top: 26rpx;">打开手机支付宝</view>
				<view class="qr-tips">扫一扫继续付款</view>
			</view>
			<view class="first-tips">首次使用请下载手机支付宝</view>
		</view>
			<view class="copy-right-container">Copyright 2020 蚂蚁金服体验技术部出品</view>
	</view>
</template>

<script>
import topView from '@/components/topView/topView.vue'
	export default {
		data(){
			return{
				count:0,
				sum:0,
				num:0
			}
		},
		methods: {
			
		},
		onLoad(options) {
			this.count=options.count;
			this.sum=options.sum;
			this.num=options.num;
			// setTimeout(() => {
				// uni.navigateTo({
				// 	url:'/pages/step-three/step-three?count='+this.count+'&sum='+this.sum+'&num='+this.num
				// })
			// },3000)
		}
	}
</script>

<style>
	page {
		width: 100%;
		height: 100%;
		background: #F0F2F5;
	}
	.container {
		display: flex;
		flex-direction: column;
	}
	.tips{
		margin-left: 650rpx;
		margin-top: 48rpx;
		font-size: 28rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.4500);
	}
	.main-container {
		width: 1820rpx;
		height: 1072rpx;
		background: #FFFFFF;
		border-radius: 4rpx;
		margin:32rpx auto;
		display: flex;
		flex-direction: column;
	}
	.buy-info-container {
		margin-left: 650rpx;
		margin-top: 16rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.buy-info-title {
		font-size: 28rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.7000);
	}
	.progress-container {
		display: flex;
		flex-direction: row;
		align-items: center;
		margin-left: 202rpx;
		width: 1416rpx;
		margin-top: 80rpx;
	}
	.select-level {
		width: 64rpx;
		height: 64rpx;
		background: linear-gradient(360deg, #4185FF 0%, #73B1FF 100%);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 32rpx;
		font-family: HelveticaNeue;
		color: #FFFFFF;
		border-radius: 50%;
	}
	.unselect-level {
		width: 64rpx;
		height: 64rpx;
		border: 2rpx solid rgba(0,0,0,0.1500);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 32rpx;
		font-family: HelveticaNeue;
		color: rgba(0,0,0,0.1500);
		border-radius: 50%;
	}
	.divider-select {
		width: 280rpx;
		height: 2rpx;
		background: #4185FF;
		margin-left: 32rpx;
		margin-right: 32rpx;
	}
	.divider-unselect {
		width: 280rpx;
		height: 2rpx;
		background: rgba(0,0,0,0.1500);
		margin-left: 32rpx;
		margin-right: 32rpx;
	}
	.select-text {
		font-size: 32rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.6500);
		margin-left: 16rpx;
	}
	.unselect-text {
		font-size: 32rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.1500);
		margin-left: 16rpx;
	}
	.scan {
		width: 100%;
		text-align: center;
		margin-top: 102rpx;
		font-size: 28rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.8000);
	}
	.pay-price {
		font-size: 60rpx;
		font-family: PingFangSC-Semibold, PingFang SC;
		font-weight: 600;
		color: #4185FF;
		margin-top: 16rpx;
		width: 100%;
		text-align: center;
	}
	.qr-code {
		width: 440rpx;
		height: 524rpx;
		background: rgba(245,245,245,0.5000);
		border-radius: 4rpx;
		border: 1rpx solid #D1D2D5;
		margin-top: 48rpx;
		margin-left:690rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.qr-image {
		width: 265rpx;
		height: 270rpx;
		margin-top: 88rpx;
	}
	.qr-tips {
		font-size: 28rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.8500);
	}
	.first-tips {
		width: 100%;
		margin-top: 32rpx;
		text-align: center;
		font-size: 24rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.3000);
	}
	.copy-right-container {
		width: 100%;
		height: 136rpx;
		text-align: center;
		font-size: 28rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(0,0,0,0.4500);
		padding-top: 48rpx;
	}
</style>